home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 3 / United Public Domain Gold 3.iso / libs / graphics.library < prev    next >
Text File  |  1978-01-11  |  4KB  |  117 lines

  1. ##base _GfxBase
  2. ##bias 30
  3. ##public
  4. *------ Text routines
  5. BltBitMap(srcBitMap,srcX,srcY,destBitMap,destX,destY,sizeX,sizeY,minterm,mask,tempA)(A0,D0/D1,A1,D2/D3/D4/D5/D6/D7/A2)
  6. BltTemplate(source,srcX,srcMod,destRastPort,destX,destY,sizeX,sizeY)(A0,D0/D1/A1,D2/D3/D4/D5)
  7. ClearEOL(rastPort)(A1)
  8. ClearScreen(rastPort)(A1)
  9. TextLength(RastPort,string,count)(A1,A0,D0)
  10. Text(RastPort,string,count)(A1,A0,D0)
  11. SetFont(RastPortID,textFont)(A1,A0)
  12. OpenFont(textAttr)(A0)
  13. CloseFont(textFont)(A1)
  14. AskSoftStyle(rastPort)(A1)
  15. SetSoftStyle(rastPort,style,enable)(A1,D0/D1)
  16. *------    Gels routines ------
  17. ##public
  18. AddBob(bob,rastPort)(A0,A1)
  19. AddVSprite(vSprite,rastPort)(A0/A1)
  20. DoCollision(rasPort)(A1)
  21. DrawGList(rastPort,viewPort)(A1,A0)
  22. InitGels(dummyHead,dummyTail,GelsInfo)(A0/A1/A2)
  23. InitMasks(vSprite)(A0)
  24. RemIBob(bob,rastPort,viewPort)(A0/A1/A2)
  25. RemVSprite(vSprite)(A0)
  26. SetCollision(type,routine,gelsInfo)(D0/A0/A1)
  27. SortGList(rastPort)(A1)
  28. AddAnimOb(obj,animationKey,rastPort)(A0/A1/A2)
  29. Animate(animationKey,rastPort)(A0/A1)
  30. GetGBuffers(animationObj,rastPort,doubleBuffer)(A0/A1,D0)
  31. InitGMasks(animationObj)(A0)
  32. DrawEllipse(rastPort,cx,cy,a,b)(A1,D0/D1/D2/D3)
  33. AreaEllipse(rastPort,cx,cy,a,b)(A1,D0/D1/D2/D3)
  34. *------    Remaining graphics routines ------
  35. ##public
  36. LoadRGB4(viewPort,colors,count)(A0/A1,D0)
  37. InitRastPort(rastPort)(A1)
  38. InitVPort(viewPort)(A0)
  39. MrgCop(view)(A1)
  40. MakeVPort(view,viewPort)(A0/A1)
  41. LoadView(view)(A1)
  42. WaitBlit()
  43. SetRast(rastPort,color)(A1,D0)
  44. Move(rastPort,x,y)(A1,D0/D1)
  45. Draw(rastPort,x,y)(A1,D0/D1)
  46. AreaMove(rastPort,x,y)(A1,D0/D1)
  47. AreaDraw(rastPort,x,y)(A1,D0/D1)
  48. AreaEnd(rastPort)(A1)
  49. WaitTOF()
  50. QBlit(blit)(A1)
  51. InitArea(areaInfo,vectorTable,vectorTableSize)(A0/A1,D0)
  52. SetRGB4(viewPort,index,r,g,b)(A0,D0/D1/D2/D3)
  53. QBSBlit(blit)(A1)
  54. BltClear(memory,size,flags)(A1,D0/D1)
  55. RectFill(rastPort,xl,yl,xu,yu)(A1,D0/D1/D2/D3)
  56. BltPattern(rastPort,ras,xl,yl,maxX,maxY,fillBytes)(a1,a0,D0/D1/D2/D3/D4)
  57. ReadPixel(rastPort,x,y)(A1,D0/D1)
  58. WritePixel(rastPort,x,y)(A1,D0/D1)
  59. Flood(rastPort,mode,x,y)(A1,D2,D0/D1)
  60. PolyDraw(rastPort,count,polyTable)(A1,D0,A0)
  61. SetAPen(rastPort,pen)(A1,D0)
  62. SetBPen(rastPort,pen)(A1,D0)
  63. SetDrMd(rastPort,drawMode)(A1,D0)
  64. InitView(view)(A1)
  65. CBump(copperList)(A1)
  66. CMove(copperList,destination,data)(A1,D0/D1)
  67. CWait(copperList,x,y)(A1,D0/D1)
  68. VBeamPos()
  69. InitBitMap(bitMap,depth,width,height)(A0,D0/D1/D2)
  70. ScrollRaster(rastPort,dX,dY,minx,miny,maxx,maxy)(A1,D0/D1/D2/D3/D4/D5)
  71. WaitBOVP(viewport)(a0)
  72. GetSprite(simplesprite,num)(a0,d0)
  73. FreeSprite(num)(d0)
  74. ChangeSprite(vp,simplesprite,data)(a0/a1/a2)
  75. MoveSprite(viewport,simplesprite,x,y)(a0/a1,d0/d1)
  76. LockLayerRom(layer)(a5)
  77. UnlockLayerRom(layer)(a5)
  78. SyncSBitMap(l)(a0)
  79. CopySBitMap(l)(a0)
  80. OwnBlitter()()
  81. DisownBlitter()()
  82. InitTmpRas(tmpras,buff,size)(a0/a1,d0)
  83. AskFont(rastPort,textAttr)(A1,A0)
  84. AddFont(textFont)(A1)
  85. RemFont(textFont)(A1)
  86. AllocRaster(width,height)(D0/D1)
  87. FreeRaster(planeptr,width,height)(A0,D0/D1)
  88. AndRectRegion(rgn,rect)(A0/A1) 
  89. OrRectRegion(rgn,rect)(A0/A1)
  90. NewRegion()()
  91. ClearRectRegion(rgn)(A0/A1)
  92. ClearRegion(rgn)(A0)
  93. DisposeRegion(rgn)(A0)
  94. FreeVPortCopLists(viewport)(a0)
  95. FreeCopList(coplist)(a0)
  96. ClipBlit(srcrp,srcX,srcY,destrp,destX,destY,sizeX,sizeY,minterm)(A0,D0/D1,A1,D2/D3/D4/D5/D6)
  97. XorRectRegion(rgn,rect)(a0/a1)
  98. FreeCprList(cprlist)(a0)
  99. GetColorMap(entries)(d0)
  100. FreeColorMap(colormap)(a0)
  101. GetRGB4(colormap,entry)(a0,d0)
  102. ScrollVPort(vp)(a0)
  103. UCopperListInit(copperlist,num)(a0,d0)
  104. FreeGBuffers(animationObj,rastPort,doubleBuffer)(A0/A1,D0)
  105. BltBitMapRastPort(srcbm,srcx,srcy,destrp,destX,destY,sizeX,sizeY,minterm)(A0,D0/D1,A1,D2/D3/D4/D5/D6)
  106. OrRegionRegion(src,dst)(a0/a1)
  107. XorRegionRegion(src,dst)(a0/a1)
  108. AndRegionRegion(src,dst)(a0/a1)
  109. SetRGB4CM(cm,i,r,g,b)(a0,d0/d1/d2/d3)
  110. BltMaskBitMapRastPort(srcbm,srcx,srcy,destrp,destX,destY,sizeX,sizeY,minterm,bltmask)(A0,D0/D1,A1,D2/D3/D4/D5/D6,A2)
  111. ##private
  112. GraphicsReserved1()()
  113. GraphicsReserved2()()
  114. ##public
  115. AttemptLockLayerRom(layer)(a5)
  116. ##end
  117.